﻿
@{
    ViewData["Title"] = "设置头像";
}

<h1>@ViewBag.Title</h1>
<hr />

<form method="post" enctype="multipart/form-data" action="SetHeadPic">
    <div>
        选择头像文件:
        <input type="file" id="files" name="myFile"/>
    </div>
    <p>@ViewBag.Msg</p>
    <div>
        <input class="btn btn-primary" type="submit" value="上传" />
    </div>
</form>
